home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Back2Front ƒ / Back2Front.make < prev    next >
Encoding:
Text File  |  1996-06-14  |  1.1 KB  |  45 lines  |  [TEXT/MPS ]

  1. #    File:        Back2Front.make
  2. #   Target:     Back2Front
  3. #   Sources:    Back2Front.a Back2Front.c Back2Front.r
  4. #   Created:    Wednesday, Mar. 22, 1994
  5. #
  6. #    Makefile for a page-reversing printing extension.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #     3/22/94 - dmh - Created.
  12. #     8/24/94 - dmh - Finalized.
  13. #     6/14/96 - cn  - Updated to support MPW Pro #19.
  14.  
  15. #    Alias to the path for the GX interface files.
  16.  
  17. INTPATH = "{CIncludes}"
  18.  
  19. #    Creator type we'll use:
  20.  
  21. kCreator = 'B2Fr'
  22.  
  23.  
  24. OBJECTS = Back2Front.a.o Back2Front.c.o
  25. AsmOptions        = -sym off -i {INTPATH} -case obj
  26. CompileOptions    = -opt full -d applec -b2 -r -i {INTPATH}
  27.  
  28. Back2Front.a.o ƒ Back2Front.make Back2Front.a
  29.      Asm {AsmOptions} Back2Front.a
  30. Back2Front.c.o ƒ Back2Front.make Back2Front.c
  31.      SC {CompileOptions} Back2Front.c
  32.  
  33. Back2Front ƒƒ Back2Front.make Back2Front.r {OBJECTS}
  34.     Link    -ra =resSysHeap,resPurgeable    ∂
  35.             -t 'pext'                        ∂
  36.             -c {kCreator}                    ∂
  37.             -rt pext=0                        ∂
  38.             -sg SEGS                        ∂
  39.             -m EntryPoint                    ∂
  40.             {OBJECTS}                        ∂
  41.             "{Libraries}MacRuntime.o"        ∂
  42.             -o Back2Front;
  43.     SetFile Back2Front -a iB;
  44.     Rez -i {INTPATH} -rd -o Back2Front Back2Front.r -append 
  45.